<?php
include "config.inc.php";

$link = mysqli_connect(DB_HOST, DB_USER, DB_PWD) or die(ECHO_MYSQL_ERROR_CONNECT);
mysqli_query($link, "create database if not exists ".DB_NAME) or die(ECHO_MYSQL_ERROR_CREATE_DATABASE);
mysqli_select_db($link, DB_NAME) or die(ECHO_MYSQL_ERROR_CREATE_DATABASE);
?>